package cn.weforward.task.weforward.view;

import java.util.List;

import cn.weforward.framework.doc.DocPageParams;
import cn.weforward.protocol.doc.annotation.DocAttribute;
import cn.weforward.protocol.doc.annotation.DocObject;

@DocObject(description = "任务搜索参数")
public class SearchTaskParam extends DocPageParams{

	protected int m_Option;
	protected List<String> handlers;
	protected String follower;
	protected String manager;
	


	//set方法获取传入的参数，如果没有set方法，那么就会使用get方法下example属性中的值
	public void setOption(int option) {
		m_Option = option;
	}

	@DocAttribute(description = "选项  0:未完成的任务 1:已完成的任务", example = "1")
	public int getOption() {
		return m_Option;
	}
	@DocAttribute(description = "根据指定处理人搜索", example = "['小王','小明']")
	public List<String> getHandlers() {
		return handlers;
	}

	public void setHandlers(List<String> handlers) {
		this.handlers = handlers;
	}
	@DocAttribute(description = "根据指定最新的跟进人搜索", example = "小李")
	public String getFollower() {
		return follower;
	}

	public void setFollower(String follower) {
		this.follower = follower;
	}
	@DocAttribute(description = "根据指定负责人搜索", example = "小王")
	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}
	
	
}
